﻿@{
    ViewBag.Title = "getAllPosts";
    Layout = "~/Views/Shared/_adminLayout.cshtml";
}


<h2>文章 <a href="http://www.xiaks.cn/wp-admin/post-new.php" class="add-new-h2">写文章</a></h2>


<ul class="subsubsub">
    <li class="all"><a href="edit.php?post_type=post" class="current">全部<span class="count">（30）</span></a> |</li>
    <li class="publish"><a href="edit.php?post_status=publish&amp;post_type=post">已发布<span class="count">（30）</span></a></li>
</ul>
<form id="posts-filter" method="get">

    <p class="search-box">
        <label class="screen-reader-text" for="post-search-input">搜索文章:</label>
        <input type="search" id="post-search-input" name="s" value="">
        <input type="submit" id="search-submit" class="button" value="搜索文章">
    </p>

    <input type="hidden" name="post_status" class="post_status_page" value="all">
    <input type="hidden" name="post_type" class="post_type_page" value="post">

    <input type="hidden" id="_wpnonce" name="_wpnonce" value="a3a3e44061"><input type="hidden" name="_wp_http_referer" value="/wp-admin/edit.php">
    <div class="tablenav top">

        <div class="alignleft actions bulkactions">
            <label for="bulk-action-selector-top" class="screen-reader-text">选择批量操作</label><select name="action" id="bulk-action-selector-top">
                <option value="-1" selected="selected">批量操作</option>
                <option value="edit" class="hide-if-no-js">编辑</option>
                <option value="trash">移至回收站</option>
            </select>
            <input type="submit" id="doaction" class="button action" value="应用">
        </div>
        <div class="alignleft actions">
            <label for="filter-by-date" class="screen-reader-text">按日期筛选</label>
            <select name="m" id="filter-by-date">
                <option selected="selected" value="0">全部日期</option>
                <option value="201505">2015年五月</option>
                <option value="201504">2015年四月</option>
            </select>
            <label class="screen-reader-text" for="cat">按分类过滤</label><select name="cat" id="cat" class="postform">
                <option value="0">所有分类</option>
                <option class="level-0" value="2">MVC4</option>
                <option class="level-0" value="28">VPN</option>
                <option class="level-0" value="37">微信开发</option>
                <option class="level-0" value="26">技术讨论</option>
                <option class="level-0" value="3">数据库</option>
                <option class="level-0" value="1">移动开发</option>
            </select>
            <input type="submit" name="filter_action" id="post-query-submit" class="button" value="筛选">
        </div>
        <div class="tablenav-pages">
            <span class="displaying-num">30个项目</span>
            <span class="pagination-links"><a class="first-page disabled" title="前往第一页" href="http://www.xiaks.cn/wp-admin/edit.php">«</a>
                <a class="prev-page disabled" title="前往上一页" href="http://www.xiaks.cn/wp-admin/edit.php?paged=1">‹</a>
                <span class="paging-input">第<label for="current-page-selector" class="screen-reader-text">选择页面</label><input class="current-page" id="current-page-selector" title="当前页面" type="text" name="paged" value="1" size="1">页，共<span class="total-pages">2</span>页</span>
                <a class="next-page" title="前往下一页" href="http://www.xiaks.cn/wp-admin/edit.php?paged=2">›</a>
                <a class="last-page" title="前往最后一页" href="http://www.xiaks.cn/wp-admin/edit.php?paged=2">»</a></span>
        </div>
        <input type="hidden" name="mode" value="list">
        <div class="view-switch">
            <a href="/wp-admin/edit.php?mode=list" class="view-list current" id="view-switch-list"><span class="screen-reader-text">列表视图</span></a>
            <a href="/wp-admin/edit.php?mode=excerpt" class="view-excerpt" id="view-switch-excerpt"><span class="screen-reader-text">摘要视图</span></a>
        </div>

        <br class="clear">
    </div>
    <table class="wp-list-table widefat fixed striped posts">
        <thead>
            <tr>
                <th scope="col" id="cb" class="manage-column column-cb check-column" style="">
                    <label class="screen-reader-text" for="cb-select-all-1">全选</label><input id="cb-select-all-1" type="checkbox"></th>
                <th scope="col" id="title" class="manage-column column-title sortable desc" style=""><a href="http://www.xiaks.cn/wp-admin/edit.php?orderby=title&amp;order=asc"><span>标题</span><span class="sorting-indicator"></span></a></th>
                <th scope="col" id="author" class="manage-column column-author" style="">作者</th>
                <th scope="col" id="categories" class="manage-column column-categories" style="">分类目录</th>
                <th scope="col" id="tags" class="manage-column column-tags" style="">标签</th>
                <th scope="col" id="comments" class="manage-column column-comments num sortable desc" style=""><a href="http://www.xiaks.cn/wp-admin/edit.php?orderby=comment_count&amp;order=asc"><span><span class="vers comment-grey-bubble" title="评论"><span class="screen-reader-text">评论</span></span></span><span class="sorting-indicator"></span></a></th>
                <th scope="col" id="date" class="manage-column column-date sortable asc" style=""><a href="http://www.xiaks.cn/wp-admin/edit.php?orderby=date&amp;order=desc"><span>日期</span><span class="sorting-indicator"></span></a></th>
            </tr>
        </thead>

        <tbody id="the-list">
            <tr id="post-146" class="iedit author-self level-0 post-146 type-post status-publish format-standard hentry category-weixin tag-40 tag-39">
                <th scope="row" class="check-column">
                    <label class="screen-reader-text" for="cb-select-146">选择微信接收普通消息</label>
                    <input id="cb-select-146" type="checkbox" name="post[]" value="146">
                    <div class="locked-indicator"></div>
                </th>
                <td class="post-title page-title column-title"><strong><a class="row-title" href="http://www.xiaks.cn/wp-admin/post.php?post=146&amp;action=edit" title="编辑“微信接收普通消息”">微信接收普通消息</a></strong>
                    <div class="locked-info"><span class="locked-avatar"></span><span class="locked-text"></span></div>
                    <div class="row-actions"><span class="edit"><a href="http://www.xiaks.cn/wp-admin/post.php?post=146&amp;action=edit" title="编辑此项目">编辑</a> | </span><span class="inline hide-if-no-js"><a href="#" class="editinline" title="实时编辑此项目">快速编辑</a> | </span><span class="trash"><a class="submitdelete" title="移动此项目到回收站" href="http://www.xiaks.cn/wp-admin/post.php?post=146&amp;action=trash&amp;_wpnonce=af1de1fc87">垃圾箱</a> | </span><span class="view"><a href="http://www.xiaks.cn/146.html" title="查看“微信接收普通消息”" rel="permalink">查看</a></span></div>
                    <div class="hidden" id="inline_146">
                        <div class="post_title">微信接收普通消息</div>
                        <div class="post_name">微信接收普通消息</div>
                        <div class="post_author">1</div>
                        <div class="comment_status">open</div>
                        <div class="ping_status">open</div>
                        <div class="_status">publish</div>
                        <div class="jj">11</div>
                        <div class="mm">05</div>
                        <div class="aa">2015</div>
                        <div class="hh">12</div>
                        <div class="mn">32</div>
                        <div class="ss">26</div>
                        <div class="post_password"></div>
                        <div class="post_category" id="category_146">37</div>
                        <div class="tags_input" id="post_tag_146">微信, 微信开发</div>
                        <div class="sticky"></div>
                        <div class="post_format"></div>
                    </div>
                </td>
                <td class="author column-author"><a href="edit.php?post_type=post&amp;author=1">coldfeng</a></td>
                <td class="categories column-categories"><a href="edit.php?category_name=weixin">微信开发</a></td>
                <td class="tags column-tags"><a href="edit.php?tag=%e5%be%ae%e4%bf%a1">微信</a>、<a href="edit.php?tag=%e5%be%ae%e4%bf%a1%e5%bc%80%e5%8f%91">微信开发</a></td>
                <td class="comments column-comments">
                    <div class="post-com-count-wrapper">
                        <a href="http://www.xiaks.cn/wp-admin/edit-comments.php?p=146" title="0待审中" class="post-com-count"><span class="comment-count">2</span></a>
                    </div>
                </td>
                <td class="date column-date">
                    <abbr title="2015/05/11 12:32:26">2015-05-11</abbr><br>
                    已发布</td>
            </tr>
     
        </tbody>

        <tfoot>
            <tr>
                <th scope="col" class="manage-column column-cb check-column" style="">
                    <label class="screen-reader-text" for="cb-select-all-2">全选</label><input id="cb-select-all-2" type="checkbox"></th>
                <th scope="col" class="manage-column column-title sortable desc" style=""><a href="http://www.xiaks.cn/wp-admin/edit.php?orderby=title&amp;order=asc"><span>标题</span><span class="sorting-indicator"></span></a></th>
                <th scope="col" class="manage-column column-author" style="">作者</th>
                <th scope="col" class="manage-column column-categories" style="">分类目录</th>
                <th scope="col" class="manage-column column-tags" style="">标签</th>
                <th scope="col" class="manage-column column-comments num sortable desc" style=""><a href="http://www.xiaks.cn/wp-admin/edit.php?orderby=comment_count&amp;order=asc"><span><span class="vers comment-grey-bubble" title="评论"><span class="screen-reader-text">评论</span></span></span><span class="sorting-indicator"></span></a></th>
                <th scope="col" class="manage-column column-date sortable asc" style=""><a href="http://www.xiaks.cn/wp-admin/edit.php?orderby=date&amp;order=desc"><span>日期</span><span class="sorting-indicator"></span></a></th>
            </tr>
        </tfoot>

    </table>
    <div class="tablenav bottom">

        <div class="alignleft actions bulkactions">
            <label for="bulk-action-selector-bottom" class="screen-reader-text">选择批量操作</label><select name="action2" id="bulk-action-selector-bottom">
                <option value="-1" selected="selected">批量操作</option>
                <option value="edit" class="hide-if-no-js">编辑</option>
                <option value="trash">移至回收站</option>
            </select>
            <input type="submit" id="doaction2" class="button action" value="应用">
        </div>
        <div class="alignleft actions">
        </div>
        <div class="tablenav-pages">
            <span class="displaying-num">30个项目</span>
            <span class="pagination-links"><a class="first-page disabled" title="前往第一页" href="http://www.xiaks.cn/wp-admin/edit.php">«</a>
                <a class="prev-page disabled" title="前往上一页" href="http://www.xiaks.cn/wp-admin/edit.php?paged=1">‹</a>
                <span class="paging-input">第1页，共<span class="total-pages">2</span>页</span>
                <a class="next-page" title="前往下一页" href="http://www.xiaks.cn/wp-admin/edit.php?paged=2">›</a>
                <a class="last-page" title="前往最后一页" href="http://www.xiaks.cn/wp-admin/edit.php?paged=2">»</a></span>
        </div>
        <br class="clear">
    </div>

</form>


<form method="get">
    <table style="display: none">
        <tbody id="inlineedit">

            <tr id="inline-edit" class="inline-edit-row inline-edit-row-post inline-edit-post quick-edit-row quick-edit-row-post inline-edit-post" style="display: none">
                <td colspan="7" class="colspanchange">

                    <fieldset class="inline-edit-col-left">
                        <div class="inline-edit-col">
                            <h4>快速编辑</h4>

                            <label>
                                <span class="title">标题</span>
                                <span class="input-text-wrap">
                                    <input type="text" name="post_title" class="ptitle" value=""></span>
                            </label>

                            <label>
                                <span class="title">别名</span>
                                <span class="input-text-wrap">
                                    <input type="text" name="post_name" value=""></span>
                            </label>


                            <label><span class="title">日期</span></label>
                            <div class="inline-edit-date">
                                <div class="timestamp-wrap">
                                    <label for="aa" class="screen-reader-text">年</label>
                                    <input type="text" name="aa" value="2015" size="4" maxlength="4" autocomplete="off">年<label for="mm" class="screen-reader-text">月份</label><select name="mm">
                                        <option value="01">一</option>
                                        <option value="02">二</option>
                                        <option value="03">三</option>
                                        <option value="04">四</option>
                                        <option value="05" selected="selected">五</option>
                                        <option value="06">六</option>
                                        <option value="07">七</option>
                                        <option value="08">八</option>
                                        <option value="09">九</option>
                                        <option value="10">十</option>
                                        <option value="11">十一</option>
                                        <option value="12">十二</option>
                                    </select>月<label for="jj" class="screen-reader-text">日期</label><input type="text" name="jj" value="11" size="2" maxlength="2" autocomplete="off">日<label for="hh" class="screen-reader-text">小时</label><input type="text" name="hh" value="12" size="2" maxlength="2" autocomplete="off">:<label for="mn" class="screen-reader-text">分钟</label><input type="text" name="mn" value="32" size="2" maxlength="2" autocomplete="off">
                                </div>
                                <input type="hidden" id="ss" name="ss" value="26">
                            </div>
                            <br class="clear">

                            <label class="inline-edit-author">
                                <span class="title">作者</span><select name="post_author" class="authors">
                                    <option value="2">admin</option>
                                   
                                </select></label>
                            <div class="inline-edit-group">
                                <label class="alignleft">
                                    <span class="title">密码</span>
                                    <span class="input-text-wrap">
                                        <input type="text" name="post_password" class="inline-edit-password-input" value=""></span>
                                </label>

                                <em class="alignleft inline-edit-or">–或–				</em>
                                <label class="alignleft inline-edit-private">
                                    <input type="checkbox" name="keep_private" value="private">
                                    <span class="checkbox-title">私密</span>
                                </label>
                            </div>


                        </div>
                    </fieldset>


                    <fieldset class="inline-edit-col-center inline-edit-categories">
                        <div class="inline-edit-col">


                            <span class="title inline-edit-categories-label">分类目录</span>
                            <input type="hidden" name="post_category[]" value="0">
                            <ul class="cat-checklist category-checklist">

                                <li id="category-2" class="popular-category">
                                    <label class="selectit">
                                        <input value="2" type="checkbox" name="post_category[]" id="in-category-2">
                                        MVC4</label></li>

                                <li id="category-28" class="popular-category">
                                    <label class="selectit">
                                        <input value="28" type="checkbox" name="post_category[]" id="in-category-28">
                                        VPN</label></li>

                                <li id="category-37" class="popular-category">
                                    <label class="selectit">
                                        <input value="37" type="checkbox" name="post_category[]" id="in-category-37">
                                        微信开发</label></li>

                                <li id="category-26">
                                    <label class="selectit">
                                        <input value="26" type="checkbox" name="post_category[]" id="in-category-26">
                                        技术讨论</label></li>

                                <li id="category-3" class="popular-category">
                                    <label class="selectit">
                                        <input value="3" type="checkbox" name="post_category[]" id="in-category-3">
                                        数据库</label></li>

                                <li id="category-1" class="popular-category">
                                    <label class="selectit">
                                        <input value="1" type="checkbox" name="post_category[]" id="in-category-1">
                                        移动开发</label></li>
                            </ul>


                        </div>
                    </fieldset>


                    <fieldset class="inline-edit-col-right">
                        <div class="inline-edit-col">



                            <label class="inline-edit-tags">
                                <span class="title">标签</span>
                                <textarea cols="22" rows="1" name="tax_input[post_tag]" class="tax_input_post_tag"></textarea>
                            </label>




                            <div class="inline-edit-group">
                                <label class="alignleft">
                                    <input type="checkbox" name="comment_status" value="open">
                                    <span class="checkbox-title">允许评论</span>
                                </label>
                                <label class="alignleft">
                                    <input type="checkbox" name="ping_status" value="open">
                                    <span class="checkbox-title">允许ping</span>
                                </label>
                            </div>


                            <div class="inline-edit-group">
                                <label class="inline-edit-status alignleft">
                                    <span class="title">状态</span>
                                    <select name="_status">
                                        <option value="publish">已发布</option>
                                        <option value="future">定时</option>
                                        <option value="pending">等待复审</option>
                                        <option value="draft">草稿</option>
                                    </select>
                                </label>



                                <label class="alignleft">
                                    <input type="checkbox" name="sticky" value="sticky">
                                    <span class="checkbox-title">置顶这篇文章</span>
                                </label>



                            </div>


                        </div>
                    </fieldset>

                    <p class="submit inline-edit-save">
                        <a href="#inline-edit" class="button-secondary cancel alignleft">取消</a>
                        <input type="hidden" id="_inline_edit" name="_inline_edit" value="c58b926bff">
                        <a href="#inline-edit" class="button-primary save alignright">更新</a>
                        <span class="spinner"></span>
                        <input type="hidden" name="post_view" value="list">
                        <input type="hidden" name="screen" value="edit-post">
                        <span class="error" style="display: none"></span>
                        <br class="clear">
                    </p>
                </td>
            </tr>

            <tr id="bulk-edit" class="inline-edit-row inline-edit-row-post inline-edit-post bulk-edit-row bulk-edit-row-post bulk-edit-post" style="display: none">
                <td colspan="7" class="colspanchange">

                    <fieldset class="inline-edit-col-left">
                        <div class="inline-edit-col">
                            <h4>批量编辑</h4>
                            <div id="bulk-title-div">
                                <div id="bulk-titles"></div>
                            </div>




                        </div>
                    </fieldset>
                    <fieldset class="inline-edit-col-center inline-edit-categories">
                        <div class="inline-edit-col">


                            <span class="title inline-edit-categories-label">分类目录</span>
                            <input type="hidden" name="post_category[]" value="0">
                            <ul class="cat-checklist category-checklist">

                                <li id="category-2" class="popular-category">
                                    <label class="selectit">
                                        <input value="2" type="checkbox" name="post_category[]" id="in-category-2">
                                        MVC4</label></li>

                                <li id="category-28" class="popular-category">
                                    <label class="selectit">
                                        <input value="28" type="checkbox" name="post_category[]" id="in-category-28">
                                        VPN</label></li>

                                <li id="category-37" class="popular-category">
                                    <label class="selectit">
                                        <input value="37" type="checkbox" name="post_category[]" id="in-category-37">
                                        微信开发</label></li>

                                <li id="category-26">
                                    <label class="selectit">
                                        <input value="26" type="checkbox" name="post_category[]" id="in-category-26">
                                        技术讨论</label></li>

                                <li id="category-3" class="popular-category">
                                    <label class="selectit">
                                        <input value="3" type="checkbox" name="post_category[]" id="in-category-3">
                                        数据库</label></li>

                                <li id="category-1" class="popular-category">
                                    <label class="selectit">
                                        <input value="1" type="checkbox" name="post_category[]" id="in-category-1">
                                        移动开发</label></li>
                            </ul>


                        </div>
                    </fieldset>


                    <fieldset class="inline-edit-col-right">
                        <label class="inline-edit-tags">
                            <span class="title">标签</span>
                            <textarea cols="22" rows="1" name="tax_input[post_tag]" class="tax_input_post_tag"></textarea>
                        </label>
                        <div class="inline-edit-col">

                            <label class="inline-edit-author">
                                <span class="title">作者</span><select name="post_author" class="authors">
                                    <option value="-1">—无更改—</option>
                                    <option value="2">admin</option>
                                 
                                </select></label>


                            <div class="inline-edit-group">
                                <label class="alignleft">
                                    <span class="title">评论</span>
                                    <select name="comment_status">
                                        <option value="">—无更改—</option>
                                        <option value="open">允许</option>
                                        <option value="closed">不允许</option>
                                    </select>
                                </label>
                                <label class="alignright">
                                    <span class="title">Ping通告</span>
                                    <select name="ping_status">
                                        <option value="">—无更改—</option>
                                        <option value="open">允许</option>
                                        <option value="closed">不允许</option>
                                    </select>
                                </label>
                            </div>


                            <div class="inline-edit-group">
                                <label class="inline-edit-status alignleft">
                                    <span class="title">状态</span>
                                    <select name="_status">
                                        <option value="-1">—无更改—</option>
                                        <option value="publish">已发布</option>

                                        <option value="private">私密</option>
                                        <option value="pending">等待复审</option>
                                        <option value="draft">草稿</option>
                                    </select>
                                </label>



                                <label class="alignright">
                                    <span class="title">置顶</span>
                                    <select name="sticky">
                                        <option value="-1">—无更改—</option>
                                        <option value="sticky">置顶</option>
                                        <option value="unsticky">不置顶</option>
                                    </select>
                                </label>



                            </div>


                        </div>
                    </fieldset>

                    <p class="submit inline-edit-save">
                        <a href="#inline-edit" class="button-secondary cancel alignleft">取消</a>
                        <input type="submit" name="bulk_edit" id="bulk_edit" class="button button-primary alignright" value="更新">
                        <input type="hidden" name="post_view" value="list">
                        <input type="hidden" name="screen" value="edit-post">
                        <span class="error" style="display: none"></span>
                        <br class="clear">
                    </p>
                </td>
            </tr>
        </tbody>
    </table>
</form>

<div id="ajax-response"></div>
<br class="clear">
